package com.wxb.mapper;

import com.wxb.domain.MallSearchHistoryEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-28 9:51
 * @Version 1.0
 * @Description
 * @ClassName MallSearchHistoryMapper
 **/
public interface MallSearchHistoryMapper {
    int deleteByUserId(@Param("userId") Long userId);

    int save(MallSearchHistoryEntity t);

    void save(Map<String, Object> map);

    void saveBatch(List<MallSearchHistoryEntity> list);

    int update(MallSearchHistoryEntity t);

    int update(Map<String, Object> map);

    int delete(Object id);

    int delete(Map<String, Object> map);

    int deleteBatch(Object[] id);

    MallSearchHistoryEntity queryObject(Object id);

    List<MallSearchHistoryEntity> queryList(Map<String, Object> map);

    List<MallSearchHistoryEntity> queryList(Object id);

    int queryTotal(Map<String, Object> map);

    int queryTotal();
}
